<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Class bmqt::Version</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="bdedox.css" rel="stylesheet" type="text/css"/>
    <style>
      div.hanging {
        padding-left: 0.75in;
        text-indent: -0.50in;
      }
      div.unhanging {
        text-indent:     0in;
      }
      a.glossary {
        font-weight: bold;
        font-style: italic;
      }
    </style>
</head>
<!--
<body onload='searchBox.OnSelectItem(0);'>
-->
<body>

<table border=2 cellspacing=0 cellpadding=0 align=center>
<tr>
 <td valign=top align=center>
 <p align=center><b><i>Quick Links:</i></b></p>
 </td>
 <td valign=top align=center>
 <p align=center>
<a class="qindex" href="group__bmqa.html" target="_blank">bmqa</a> | <a class="qindex" href="group__bmqpi.html" target="_blank">bmqpi</a> | <a class="qindex" href="group__bmqt.html" target="_blank">bmqt</a>
 </td>
 </tr>
 </table>

  </div>
<!-- Generated by Doxygen 1.7.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="components.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="components.html"><span>Components</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath">
    <ul>
      <li><a class="el" href="namespacebmqt.html">bmqt</a>      </li>
      <li><a class="el" href="classbmqt_1_1Version.html">bmqt::Version</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<h1>bmqt::Version Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="bmqt::Version" -->
<p><code>#include &lt;<a class="el" href="bmqt__version_8h_source.html">bmqt_version.h</a>&gt;</code></p>

<p><a href="classbmqt_1_1Version-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbmqt_1_1Version.html#ae7fcff6f35b070c0ddac5fadbea55f49">Version</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbmqt_1_1Version.html#a0e7800cff6c549a0d611bfd593e23658">Version</a> (unsigned char major, unsigned char minor)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbmqt_1_1Version.html">Version</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbmqt_1_1Version.html#a70864d27803f1e57cae5c4d7f523a786">setMajor</a> (unsigned char value)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbmqt_1_1Version.html">Version</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbmqt_1_1Version.html#ab855e3c2aeafc15d0cb6c95707574537">setMinor</a> (unsigned char value)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bsl::ostream &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbmqt_1_1Version.html#a603007cdcf7610cde4cfad6aeb866688">print</a> (bsl::ostream &amp;stream, int level=0, int spacesPerLevel=4) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned char&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbmqt_1_1Version.html#a1084d3e39183227de74ed9f9fdd18ffb">major</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned char&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbmqt_1_1Version.html#a2083f5ec1b236ac1859a267d17042a12">minor</a> () const </td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A version consisting of a major and minor version number.</p>
<p>See <a class="el" href="group__bmqt__version.html">Component bmqt_version</a> </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ae7fcff6f35b070c0ddac5fadbea55f49"></a><!-- doxytag: member="bmqt::Version::Version" ref="ae7fcff6f35b070c0ddac5fadbea55f49" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bmqt::Version::Version </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Create an object of type <code><a class="el" href="classbmqt_1_1Version.html">Version</a></code> having the default value. Note that major is set to zero and minor is set to zero. </p>

</div>
</div>
<a class="anchor" id="a0e7800cff6c549a0d611bfd593e23658"></a><!-- doxytag: member="bmqt::Version::Version" ref="a0e7800cff6c549a0d611bfd593e23658" args="(unsigned char major, unsigned char minor)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bmqt::Version::Version </td>
          <td>(</td>
          <td class="paramtype">unsigned char&nbsp;</td>
          <td class="paramname"> <em>major</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char&nbsp;</td>
          <td class="paramname"> <em>minor</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Create an object of type <code><a class="el" href="classbmqt_1_1Version.html">Version</a></code> initialized with the specified <code>major</code> and <code>minor</code> versions. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a70864d27803f1e57cae5c4d7f523a786"></a><!-- doxytag: member="bmqt::Version::setMajor" ref="a70864d27803f1e57cae5c4d7f523a786" args="(unsigned char value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classbmqt_1_1Version.html">Version</a>&amp; bmqt::Version::setMajor </td>
          <td>(</td>
          <td class="paramtype">unsigned char&nbsp;</td>
          <td class="paramname"> <em>value</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the major part of the version to the specified <code>value</code> and return a reference to this object. </p>

</div>
</div>
<a class="anchor" id="ab855e3c2aeafc15d0cb6c95707574537"></a><!-- doxytag: member="bmqt::Version::setMinor" ref="ab855e3c2aeafc15d0cb6c95707574537" args="(unsigned char value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classbmqt_1_1Version.html">Version</a>&amp; bmqt::Version::setMinor </td>
          <td>(</td>
          <td class="paramtype">unsigned char&nbsp;</td>
          <td class="paramname"> <em>value</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the minor part of the version to the specified <code>value</code> and return a reference to this object. </p>

</div>
</div>
<a class="anchor" id="a603007cdcf7610cde4cfad6aeb866688"></a><!-- doxytag: member="bmqt::Version::print" ref="a603007cdcf7610cde4cfad6aeb866688" args="(bsl::ostream &amp;stream, int level=0, int spacesPerLevel=4) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bsl::ostream&amp; bmqt::Version::print </td>
          <td>(</td>
          <td class="paramtype">bsl::ostream &amp;&nbsp;</td>
          <td class="paramname"> <em>stream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>level</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>spacesPerLevel</em> = <code>4</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Format this object to the specified output <code>stream</code> at the optionally specified indentation <code>level</code> and return a reference to the modifiable <code>stream</code>. If <code>level</code> is specified, optionally specify <code>spacesPerLevel</code>, the number of spaces per indentation level for this and all of its nested objects. Each line is indented by the absolute value of <code>level * spacesPerLevel</code>. If <code>level</code> is negative, suppress indentation of the first line. If <code>spacesPerLevel</code> is negative, suppress line breaks and format the entire output on one line. If <code>stream</code> is initially invalid, this operation has no effect. Note that a trailing newline is provided in multiline mode only. </p>

</div>
</div>
<a class="anchor" id="a1084d3e39183227de74ed9f9fdd18ffb"></a><!-- doxytag: member="bmqt::Version::major" ref="a1084d3e39183227de74ed9f9fdd18ffb" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned char bmqt::Version::major </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the major part of the version. </p>

</div>
</div>
<a class="anchor" id="a2083f5ec1b236ac1859a267d17042a12"></a><!-- doxytag: member="bmqt::Version::minor" ref="a2083f5ec1b236ac1859a267d17042a12" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned char bmqt::Version::minor </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the minor part of the version. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="bmqt__version_8h_source.html">bmqt_version.h</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Thu Jun 15 2023 11:58:52 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>
